Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 2 - Telephone Terminals / Telephone Terminals Reference
Constants


Telephone Terminal Feature Flags

These constants define the bit masks for the featureFlags field in the telephone terminal record.

enum {
   pcmAvail                = 1L << 0,
   hasHandset              = 1L << 1,
   hasSpeakerphone         = 1L << 2,
   canOnHookDial           = 1L << 3,
   hasRinger               = 1L << 4,
   canSetDisplay           = 1L << 5,
   hasKeypad               = 1L << 6,
   hasVideo                = 1L << 7,
   hasOther                = 1L << 8,
   crossDNConference       = 1L << 9,
   hasSubaddress           = 1L << 10,
   hasUserUserInfo         = 1L << 11,
   hasHandsetSoundStreams  = 1L << 12,
   hasIndHandset           = 1L << 13,
   hasBuiltinSpeakerphone  = 1L << 14
};
Constant descriptions

pcmAvail
If this bit is set, the telephone terminal can access pulse code modulated (PCM) data.
hasHandset
If this bit is set, the telephone terminal has an attached handset.
hasSpeakerphone
If this bit is set, the telephone terminal has speakerphone capabilities.
canOnHookDial
If this bit is set, the telephone terminal can dial while the handset is in place.
hasRinger
If this bit is set, the telephone terminal has its own ringer.
canSetDisplay
If this bit is set, the telephone terminal can write to the display.
hasKeypad
If this bit is set, the telephone terminal has a 12 button keypad.
hasVideo
If this bit is set, the telephone terminal has videophone capabilities.
hasOther
Reserved for use by Apple.
crossDNConference
If this bit is set, the terminal can group calls from different directory numbers into a single conference.
hasSubaddress
If this bit is set, the network through which the terminal is connected supports subaddressing.
hasUserUserInfo
If this bit is set, the network through which the terminal is connected supports the passing of data between users.
hasHandsetSoundStreams
If this bit is set, sound streams are supported for this handset (the handset supports a sound input driver and a sound output component). Note that the pcmAvail bit is set in the telephone terminal record's featureFlags field whenever hasHandsetSoundStreams is set.
hasIndHandset
If this bit is set, the handset can be accessed independently of the phone line (and hence you can call TELSetIndHSConnect to connect the handset to or disconnect the handset from the phone line).
hasBuiltinSpeakerphone
If this bit is set, the Macintosh speaker and microphone are available for use as a speakerphone. This capability also applies to a headset plugged into the sound system of the computer.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help